<%@ page language="java" pageEncoding="UTF-8"%>
<div ng-controller="IllegalCharShowController">
	<div class="panel panel-default">
		<div class="panel-heading">
			非法字符
			<span class="pull-right">
				<button type="button" class="btn btn-default btn-sm" ng-click="create()"><i class="glyphicon glyphicon-plus-sign"></i> 添加</button>
			</span>
		</div>
		<div class="panel-body">
			<table class="table table-hover">
				<thead>
					<tr>
						<th>
							ID
						</th>
						<th>
							名称
						</th>
						<th>
							创建时间
						</th>
						<th>
							操作
						</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-repeat="illegalChar in illegalChars">
						<td>
							{{illegalChar.id}}
						</td>
						<td>
							{{illegalChar.name}}
						</td>
						<td>
							{{illegalChar.create_time | formatDate}}
						</td>
						<td>
							<button type="button" class="btn btn-success btn-xs" ng-click="edit(illegalChar)"><i class="glyphicon glyphicon-edit"></i> 编辑</button>
							<button type="button" class="btn btn-danger btn-xs" ng-click="remove(illegalChar)"><i class="glyphicon glyphicon-edit"></i> 删除</button>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>